package abs.web.jsf;

import abs.domain.Companias;
import abs.domain.Sucursales;

import java.util.List;

/**
 * Spring Component that handles CRUD requests for Sucursales entities
 * 
 */
public interface SucursalesComponent {

	/**
	 * Save an existing Sucursales entity
	 * 
	 */
	public String saveSucursales(Sucursales sucursales);

	/**
	 * View an existing Companias entity
	 * 
	 */
	public String selectSucursalesCompanias(String sucursales_co001cdgo, String related_companias_co000nocia);

	/**
	 * Select the child Companias entity for display allowing the user to confirm that they would like to delete the entity
	 * 
	 */
	public String confirmDeleteSucursalesCompanias(String sucursales_co001cdgo_1, String related_companias_co000nocia_1);

	/**
	 * Edit an existing Companias entity
	 * 
	 */
	public String editSucursalesCompanias(String sucursales_co001cdgo_2, String related_companias_co000nocia_2);

	/**
	 * Select the Sucursales entity for display allowing the user to confirm that they would like to delete the entity
	 * 
	 */
	public String confirmDeleteSucursales(String co001cdgoKey);

	/**
	 * Show all Sucursales entities
	 * 
	 */
	public List<Sucursales> listSucursaless();

	/**
	 * Delete an existing Companias entity
	 * 
	 */
	public String deleteSucursalesCompanias(String sucursales_co001cdgo_3, String related_companias_co000nocia_3);

	/**
	 * Select an existing Sucursales entity
	 * 
	 */
	public String selectSucursales(String co001cdgoKey_1);

	/**
	 * Delete an existing Sucursales entity
	 * 
	 */
	public String deleteSucursales(String co001cdgoKey_2);

	/**
	 * Create a new Companias entity
	 * 
	 */
	public String newSucursalesCompanias(String sucursales_co001cdgo_4);

	/**
	 * Save an existing Companias entity
	 * 
	 */
	public String saveSucursalesCompanias(String sucursales_co001cdgo_5, Companias companias);

	/**
	 * Create a new Sucursales entity
	 * 
	 */
	public String newSucursales();

	/**
	 * Getter for variable Sucursales
	 * 
	 */
	public Companias getCompanias();

	/**
	 * Get Companias entity by Sucursales
	 * 
	 */
	public Companias getSucursalesCompanias(String co001cdgoKey_3);

	/**
	 * Edit an existing Sucursales entity
	 * 
	 */
	public String editSucursales(String co001cdgoKey_4);

	/**
	 * Getter for variable Sucursales
	 * 
	 */
	public Sucursales getSucursales();
}